package tsli.acm.ctrl;

import java.util.List;
import java.util.Map;

import tsli.acm.dao.GACommissionPositiveDAO;
import tsli.acm.database.Database;

public class VPComponentAPIMethod {

	public static void quarterlyBonusCalaulate() {
		String paPeNoBm = "221200835";
		String paQuarterly = "3";
		String paYear = "2014";

		Database db = new Database();
		GACommissionPositiveDAO voGACommissionPositiveDAO = new GACommissionPositiveDAO(
				db);
		List<Map<String, Object>> voVPComPoList = voGACommissionPositiveDAO
				.getAllGMByQuarterly(paPeNoBm,paQuarterly , paYear);
		
			// System.out.println(voAGCompoMap);

		

	}
	
	
	public static void yearBonusCalaulate() {
		String paPeNoBm = "221200835";
		String paYear = "2014";

		Database db = new Database();
		GACommissionPositiveDAO voGACommissionPositiveDAO = new GACommissionPositiveDAO(
				db);
		List<Map<String, Object>> voVPComPoList = voGACommissionPositiveDAO
				.getAllGMByYear(paPeNoBm, paYear);
		
			// System.out.println(voAGCompoMap);

		

	}

	public static void main(String[] args) {
		quarterlyBonusCalaulate();
	}
}
